﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace RN.ERP.Entity.ZBDLRY
{
    /// <summary>
    /// 
    /// </summary>
    [Table("V_e_SorcePublish_2006Public")]
    public class e_PrizePunish_ZBDL
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Int32 ID { get; set; }
        /// <summary>
        /// 填写日期
        /// </summary>
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? RegisterDate { get; set; }
        /// <summary>
        /// 填写人DogID
        /// </summary>
        public Int32? AuthorID { get; set; }
        /// <summary>
        /// 填写人单位名称（可能是企业，也可能是主管）
        /// </summary>
        public String AuthorName { get; set; }
        /// <summary>
        /// 奖励名称
        /// </summary>
        public String Title { get; set; }
        /// <summary>
        /// 获奖单位名称
        /// </summary>
        public String CorpName { get; set; }
        /// <summary>
        /// 企业资质编号
        /// </summary>
        public String CorpNo { get; set; }
        /// <summary>
        /// 获奖的项目经理或项目总监id号
        /// </summary>
        public Int32? PersonID { get; set; }
        /// <summary>
        /// 获奖的项目经理或项目总监姓名
        /// </summary>
        public String PersonName { get; set; }
        /// <summary>
        /// 获奖的项目经理或项目总监证书编号
        /// </summary>
        public String PersonNo { get; set; }
        /// <summary>
        /// 批准单位
        /// </summary>
        public String AuditDept { get; set; }
        /// <summary>
        /// 批准日期
        /// </summary>
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? AuditDate { get; set; }
        /// <summary>
        /// 证明文件编号
        /// </summary>
        public String DocID { get; set; }
        /// <summary>
        /// 企业申请得分
        /// </summary>
        public Double? Apply_CorpScore { get; set; }
        /// <summary>
        /// 人员申请得分
        /// </summary>
        public Double? Apply_PersonScore { get; set; }
        /// <summary>
        /// 企业审核得分
        /// </summary>
        public Double? Audit_CorpScore { get; set; }
        /// <summary>
        /// 人员审核得分
        /// </summary>
        public Double? Audit_PersonScore { get; set; }
        /// <summary>
        /// 企业得的总分
        /// </summary>
        public Double? Total_CorpScore { get; set; }
        /// <summary>
        /// 人员得的总分
        /// </summary>
        public Double? Total_PersonScore { get; set; }
        /// <summary>
        /// 承办人意见
        /// </summary>
        public String Response_Remark { get; set; }
        /// <summary>
        /// 部门审批意见
        /// </summary>
        public String Dept_Remark { get; set; }
        /// <summary>
        /// 分管局长意见
        /// </summary>
        public String Lead_Remark { get; set; }
        /// <summary>
        /// 承办人审核日期
        /// </summary>
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? Response_Date { get; set; }
        /// <summary>
        /// 部门审核日期
        /// </summary>
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? Dept_Date { get; set; }
        /// <summary>
        /// 分管局长审核日期
        /// </summary>
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:yyyy-MM-dd}")]
        public DateTime? Lead_Date { get; set; }
        /// <summary>
        /// 0:企业,1:个人,2:工程（暂不用）
        /// </summary>
        public Int32? bStatus { get; set; }
        /// <summary>
        /// 扣分1,加分0
        /// </summary>
        public Int32? bFlag { get; set; }
        /// <summary>
        /// 是否监理企业（0：否；1：是）
        /// </summary>
        public Int32? CorpFlag { get; set; }
        /// <summary>
        /// 是否主建单位0：否；1：是
        /// </summary>
        public Int32? ConstractionFlag { get; set; }
        /// <summary>
        /// 量或技术进步1：安全或文明施工2：施工企业其它3：监理企业其它
        /// </summary>
        public Int32? PrizeFlag { get; set; }
        /// <summary>
        /// 企业考核依据ID
        /// </summary>
        public Int32? KHID1 { get; set; }
        /// <summary>
        /// 审核状态，0上报，1审核通过，-1打回
        /// </summary>
        public String bFlowStatus { get; set; }
        /// <summary>
        /// 企业ID
        /// </summary>
        public Int32? CorpID { get; set; }
        /// <summary>
        /// 人员考核依据ID
        /// </summary>
        public Int32? KHID2 { get; set; }
        /// <summary>
        /// 企业狗号
        /// </summary>
        public Int32 CorpDogID { get; set; }
        /// <summary>
        /// 对应企业的CorpUserGuid
        /// </summary>
        public Guid? CorpUserGuid { get; set; }
        /// <summary>
        /// 对应人员的guid
        /// </summary>
        public Guid? EmpGuid { get; set; }
        /// <summary>
        /// 记录的guid
        /// </summary>
        public Guid? RecordGuid { get; set; }
        public Int32? bGrade { get; set; }
        public String classid { get; set; }
        public String areacode { get; set; }
        public Int32? addpoint { get; set; }
        public Int32? subtract { get; set; }
        public Int32? tb_Corp_IsOuter { get; set; }
    }
}
